﻿namespace Presentation.Web.Core.CDN
{
    public class UrlTransform : Intelligencia.UrlRewriter.IRewriteTransform
    {
        #region IRewriteTransform Members

        public string ApplyTransform(string input)
        {
            return UrlProvider.Instance.GetCachableVirtualPath("~/" + input);
        }

        public string Name
        {
            get { return "cdn"; }
        }

        #endregion
    }
}
